<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:38:"./template/layres/html/index_soft.html";i:1577504653;s:53:"D:\GitCode\LayZy\template\layres\html\index_base.html";i:1576677271;s:55:"D:\GitCode\LayZy\template\layres\html\index_header.html";i:1576486957;s:55:"D:\GitCode\LayZy\template\layres\html\index_footer.html";i:1577717876;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meat name="robots" content="index,nofollow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
<title><?php echo strip_tags($article['title']); ?> - <?php echo $site_config['site_title']; ?>!</title>
<meta name="keywords" content="<?php echo $article['keywords']; ?>">
<meta name="description" content="<?php echo $article['description']; ?>">

  <link rel="shortcut icon" href="/public/images/favicon.ico">
  <link rel="stylesheet" href="/public/plugins/layui/css/layui.css">
  <link rel="stylesheet" href="/public/css/font.css">
  <link rel="stylesheet" href="/template/layres/css/public.css">
  <script src="/public/js/jquery-3.3.1.min.js"></script>
  
<link rel="stylesheet" href="/template/layres/css/detail.css">

</head>
<body>
  <header>
  <div class="header-important">
    <div class="container layui-clear">
      <a href="/" class="logo">
        <img src="/template/layres/images/logo.png"/>
      </a>
      <img src="/template/layres/images/yxcz.png" class="logo-right-decation"/>
      <form action="/search"  class="search">
        <input type="text" placeholder="快来搜一搜吧！" value="<?php echo $keyword; ?>" name="keyword"/>
        <input type="submit" class="layui-icon" value="&#xe615;"/>
      </form>
    </div>
  </div>
  <nav class="web-nav">
    <div class="container layui-clear">
      <ul class="nav-ul">
        <li <?php if($URI == ''||$URI == '/'): ?>class="hover"<?php endif; ?>>
          <a href="/" target="_self">网站首页</a>
        </li>
        <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <li <?php if($URI == $vo['link']): ?>class="hover"<?php endif; ?>>
          <a href="<?php echo $vo['link']; ?>" target="<?php echo $vo['target']; ?>"><?php echo $vo['name']; ?></a>
        </li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
        <span class="border-bottom" hidden></span>
      </ul>
      <div class="header-user">
        <?php if(\think\Session::get('userid') != ''): ?>
        <img class="ico" src="<?php echo \think\Session::get('avatar'); ?>" onerror="this.src='/template/layres/images/a3o.png'"/>
        <div class="show-data">
          <div class="show logined">
            <i></i>
            <span class="logined_text">欢迎回来，<?php echo \think\Session::get('nickname'); ?></span>
            <span class="logined_text share">
							<b class="hot"></b>
							您已投稿分享过<font><?php echo \think\Session::get('posted_num'); ?></font>次 ，
							共有<font><?php echo \think\Session::get('praise_num'); ?></font>位老铁为你点赞
						</span>
            <div class="logined_btn layui-clear">
              <a href="/user/index.html">个人中心</a>
              <a href="javaScript:exit();">退出</a>
            </div>
          </div>
        </div>
      </div>
      <?php else: ?>
      <img class="ico" src="/template/layres/images/a3o.png"/>
      <div class="show-data">
        <div class="show">
          <i></i>
          <span>登录后，享受更多优质服务哦</span>
          <button onclick="openLoginK();">登录</button>
        </div>
      </div>
      <?php endif; ?>

    </div>
  </nav>
</header>
  <div style="background:url("<?php echo (isset($site_config['background_img']) && ($site_config['background_img'] !== '')?$site_config['background_img']:''); ?>") no-repeat center center;">
  
<article class="content-true">
    <section class="container layui-clear">
        <div class="index-container layui-clear">
            <div class="soft_content">
                <div class="import layui-clear">
                    <div class="left">
                        <img src="<?php echo $article['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';this.setAttribute('style','max-width:100%;')" />
                    </div>
                    <div class="right">
                        <h3 class="soft-title"><?php echo $article['title']; ?></h3>
                        <div class="soft-info article-bq layui-clear">
                            <span><i>更新时间：</i><font><?php echo $article['created_at']; ?></font></span>
                            <span><i>附件大小：</i><font><?php echo $article['attachment_size']?$article['attachment_size'].'Mb':'未知'; ?></font></span>
                            <span><i>语言种类：</i><font>简体中文</font></span>
                            <span><i>所属分类：</i><font><?php echo $article['name']; ?></font></span>
                            <span><i>文件格式：</i><font><?php echo $article['attachment_ext']; ?></font></span>
                            <span class="bq-zz"><i>投稿作者：</i><font><a href="/person/<?php echo $article['uuid']; ?>.html" target="_blank"><?php echo $article['nickname']; ?></a></font></span>
                            <span class="bq-wg"><i>围　　观：</i><font><?php echo $article['total_view']; ?>次</font></span>
                            <span class="bq-dz"><i>获得点赞：</i><font><?php echo $article['praise_num']; ?>次</font></span>
                            <span class="bq-hfcount"><i>评论回复：</i><font>0次</font></span>
                            <div class="down layui-clear">
                                <a href="<?php echo $article['down_link1']; ?>" target="_blank"><i class="iconfont icon-xiazai"></i>本地下载</a>
                                <?php if($article['down_link2']): ?>
                                <a href="<?php echo $article['down_link2']; ?>" target="_blank" data-pass="" class="backdown">备用下载</a>
                                <?php endif; ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="soft-intr layui-clear">
                    <div class="left">
                        <div class="title" style="margin-bottom:-15px;">简要介绍</div>
                        <div class="soft-content">
                            <?php echo $article['content']; ?>
                        </div>
                        <div class="title">同类推荐</div>
                        <ul class="tltj layui-clear">
                            <?php if(is_array($kinds) || $kinds instanceof \think\Collection || $kinds instanceof \think\Paginator): $i = 0; $__LIST__ = $kinds;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li>
                                <a href="/html/<?php echo $vo['id']; ?>.html" class="layui-clear">
                                    <div class="img">
                                        <img src="<?php echo $vo['cover_img']; ?>" onerror="this.src='/template/layres/images/no-img1.png';"/>
                                    </div>
                                    <div class="infos">
                                        <h3><?php echo $vo['title']; ?></h3>
                                        <i>查看</i>
                                    </div>
                                </a>
                            </li>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                        <div class="article-pl">
                            <div class="title">
                                我要评论 <font class="plnumber"><?php echo $article['comment_num']; ?>条评论，<?php echo $article['reply_num']; ?>个回复</font>
                                <div class="article-end">
                                    <div class="good <?php if($hasPraised): ?>hover<?php endif; ?>">
                                        <a class="layui-icon layui-icon-praise"></a>
                                        <span data-dz="0" class="dznumbers" style="display:none;">已有<?php echo $article['praise_num']; ?>次赞</span>
                                    </div>
                                </div>
                            </div>
                            <div class="main">
                                <textarea id="pinglun" placeholder="快来说两句吧.."></textarea>
                                <div class="myinfo layui-clear">
                                    <div class="logineds">
                                        <a class="my-nick" href="/user/index" target="_blank"><img
                                                src="/template/layres/images/default_head.png"/>匿名用户</a>
                                        <button onclick="exit();" class="exit">退出</button>
                                    </div>
                                    <button class="sendpl">发布评论</button>
                                </div>
                            </div>
                            <ul id="hot-pl" class="pl-list">
                                <div class="title">热门评论</div>
                            </ul>
                            <ul id="new-pl" class="pl-list">
                                <div class="title">最新评论</div>
                            </ul>
                            <a class="showMore"> 查看更多评论 </a>
                        </div>
                    </div>
                    <div class="right">
                        <div class="title">作者信息</div>
                        <div class="athuor-info layui-clear">
                            <a href="/person/<?php echo $authorInfo['uuid']; ?>.html" target="_blank">
                                <img src="<?php echo $authorInfo['avatar']; ?>" onerror="this.src='/public//images/userhead/default.png';" />
                                <div class="nick">
                                    <h3><?php echo $authorInfo['nickname']; ?></h3>
                                    <span><?php echo $authorInfo['description']; ?></span>
                                </div>
                            </a>
                            <div class="data">
                                <div class="layui-clear">
                                    <span>投稿次数</span>
                                    <span>通过</span>
                                    <span>获赞</span>
                                </div>
                                <div class="number layui-clear">
                                    <span><?php echo $authorInfo['posted_num']; ?></span>
                                    <span><?php echo $authorInfo['passed_num']; ?></span>
                                    <span data-dz="<?php echo $authorInfo['praise_num']; ?>" class="allhz"><?php echo $authorInfo['praise_num']; ?></span>
                                </div>
                            </div>
                            <div class="btn">
                                <a href="javaScript:lxzz('<?php echo $authorInfo['qq_id']; ?>');" target="_blank"><i class="iconfont icon-QQ"></i>联系作者</a>
                                <a href="/person/<?php echo $authorInfo['uuid']; ?>.html" target="_blank">他的主页</a>
                            </div>
                        </div>
                        <div class="title">随机推荐</div>
                        <ul class="xuhaoul">
                            <?php if(is_array($rands) || $rands instanceof \think\Collection || $rands instanceof \think\Paginator): $i = 0; $__LIST__ = $rands;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li><a href="/html/<?php echo $vo['id']; ?>.html"> <i><?php echo $key+1; ?></i><?php echo $vo['title']; ?></a></li>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div>
                </div>
            </div>
            <iframe frameborder="0" hidden id="frameBox"></iframe>

        </div>
    </section>
</article>

  </div>
  <!--底部区域-->
<footer>
    <div class="layui-clear container">
        <div class="left">
            <img src="/template/layres/images/logo.png" width="200" height="72"/>
            <p>
                本站提供最新游戏辅助,电影抢先看,QQ软件等。努力打造为全国网络爱好者提供优质服务的平台，让我们的生活更加精彩！
                商务合作请联系站长<a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $site_config['webmaster_qq']; ?>&site=qq&menu=yes" target="_blank" style="text-indent:0;color: #ffffff; border: 1px solid #20c4ab; display: inline-block; padding: 0px 19px; margin-left: 20px; font-size: 14px;  border-radius: 21px;">QQ <?php echo $site_config['webmaster_qq']; ?></a>
            </p>
            <ul class="layui-clear">
                <li><a href="/about/">关于我们</a></li>
                <li><a href="/about/ad.html">广告合作</a></li>
                <li><a href="/user/tg.html">在线投稿</a></li>
                <li><a href="/about/send.html">酷站收录</a></li>
                <li><a href="/about/idea.html">意见反馈</a></li>
                <li><?php echo $site_config['site_tongji']; ?></li>
                <li><a href="http://www.miitbeian.gov.cn/" target="_blank"> <?php echo $site_config['site_icp']; ?></a></li>
            </ul>
        </div>
        <div class="right">
            <img title="扫码访问手机版" alt="扫码访问手机版" src="/template/layres/images/web-code.png"/>
        </div>
    </div>
</footer>
<!--底部结束-->

<div id="loginBox">
    <div id="login" class="layui-clear"><a href="javaScript:void(0)" class="iconfont closeLogin"><i class="layui-icon layui-icon-close"></i></a>
        <div class="left"><img src="/template/layres/images/a8e.png"> <span>Welcome</span></div>
        <div class="right" id="loginmain"><h3 class="tilg">登录您的账号</h3>
            <form class="center layui-form">
                <div class="input"><i class="iconfont icon-zhanghao"></i>
                    <input type="text" placeholder="手机/邮箱/用户名" lay-verify="username"  name="username"/></div>
                <div class="input"><i class="iconfont icon-mima"></i>
                    <input type="password" placeholder="请输入您的密码"  lay-verify="password" name="password"/></div>
                <div class="input code" style="display: none"> <i class="iconfont icon-yanzhengma"></i>
                    <input type="text" placeholder="验证码" name="verify_code"  maxlength="4" />
                    <img src="<?php echo url('index/page/captcha'); ?>?'+Math.random();" title="点击可刷新验证码"
                         onclick="this.src='<?php echo url('index/page/captcha'); ?>?'+Math.random();" id="img_code"
                         style="margin-top:20px;width:144px;height:45px;cursor:pointer" /></div>
                <div class="loo layui-clear">
                    <?php if($site_config['qqlogin_status'] == 1): ?> <div class="ks"><a href="/user/qqlogin.html"><img src="/template/layres/images/qq.png"/></a></div><?php endif; ?>
                    <div class="zc"><a href="javaScript:void(0);" class="zczh">注册账号</a>
                        <a href="/user/forgetpass.html" target="_blank">找回密码</a></div>
                </div>
                <button lay-submit lay-filter="login">立即登录</button>
            </form>
        </div>
        <div class="right" id="regmain" style="display:none;"><h3 class="tilg">注册新的账号</h3>
            <form class="center  layui-form">
                <div class="input"><i class="iconfont icon-zhanghao"></i>
                    <input type="text" id="username" placeholder="请输入您的手机或邮箱" lay-verify="username" autocomplete="off" name="username"/>
                </div>
                <div class="input code"> <i class="iconfont icon-yanzhengma"></i>
                    <input type="text" placeholder="图形码" lay-verify="verify_code" id="captcha" name="captcha" maxlength="4" autocomplete="off" required class="layui-required" />
                    <img id="captchaPic" src="<?php echo url('index/page/captcha'); ?>?'+Math.random();" title="点击可刷新验证码" onclick="this.src='<?php echo url('index/page/captcha'); ?>?_='+Math.random()" class="imgcode" />
                </div>
                <div class="input code">
                    <i class="iconfont icon-yanzhengma"></i>
                    <input type="text" placeholder="验证码" lay-verify="verify_smscode" name="smscode" maxlength="6" autocomplete="off" required class="layui-required" />
                    <div   style="position: absolute; height: 42px; right: 0; top: 0; width: 150px;margin-top: 8px;">
                    <button type="button" class="layui-btn layui-btn-normal" id="sendRegCode">发送验证码
                        </button>
                    </div>

                </div>
                <div class="input"><i class="iconfont icon-mima"></i>
                    <input type="password" placeholder="请输入您的密码" lay-verify="password" autocomplete="off" name="password"/></div>

                <div class="loo layui-clear">
                    <?php if($site_config['qqlogin_status'] == 1): ?><div class="ks"><a href="/user/qqlogin.html"><img src="/template/layres/images/qq.png"/></a></div><?php endif; ?>
                    <div class="zc"><a href="javaScript:void(0);" class="yjyl">我已经有账号了？</a></div>
                </div>
                <button  lay-submit lay-filter="register">立即注册</button>
            </form>
        </div>
    </div>
</div>
  <a class="backtop iconfont icon-xiangshang"></a>
  <script src="/public/plugins/layui/layui.js"></script>
  <script src="/template/layres/js/public.js"></script>
  
<script src="/template/layres/js/detail.js"></script>
<script id="pl-template" data-id="1-<?php echo $article['id']; ?>" type="text/html">
    {{#   layui.each(d, function(index, item){ }}
    <li class="layui-clear">
        <a href="/person/{{item.uuid}}.html" target="_blank" class="li-img">
            <img src="{{item.avatar}}" onerror="this.src='/template/layres/images/default.png';"/>
        </a>
        <div class="li-info" data-id="{{item.id}}">
            <a href="/person/{{item.uuid}}.html" class="li-nick" target="_blank">{{item.nick}}{{#if("c2db2e9c-3cc7-49a1-baa4-3c53d7e9fdd6"===item.uuid){}} <em style="background: #4bc4ff; margin-left: 8px; margin-right: -8px;">作者</em>{{#}else if(item.rank=="管理员" || item.rank=="金牌作者"){}}<em>{{item.rank}}</em> {{#}}}<i>{{getDateDiff(item.time)}}</i></a>
            <div class="li-content">{{item.content}}</div>
            {{#if(item.reply.length>0){}}
            <div class="zi-pl">
                <ul>
                    {{#  layui.each(item.reply, function(indexs, items){ }}
                    <li {{#if (indexs>1){}} hidden{{#} }}>
                        <div class="zi-pl-content">
                            <a href="/person/{{items.uuid}}.html" target="_blank" class="zi-nick">{{items.nick}}</a>
                            {{#  layui.each(item.reply, function(idx, items_hf){ }}

                            {{#if(items.pid==items_hf.id){}}
                            回复 <a href="/person/{{items_hf.uuid}}.html" target="_blank" class="zi-nick"> {{items_hf.nick}} </a>
                            {{#}}}

                            {{#});}}
                            ：
                            {{items.content}}
                        </div>
                        <div class="zi-cz" data-id="{{items.id}}">
                            <a class="huifubtn">回复</a>
                            · {{getDateDiff(items.time)}}
                        </div>
                    </li>
                    {{#});}}
                </ul>
                {{#if( item.reply.length>2){}}
                <a href="javaScript:void(0)" class="zi-loadmore">查看更多回复</a>
                {{#}}}
            </div>
            {{#}}}
            <div class="li-go">
                <a class="huifubtn"><i class="iconfont icon-message"></i>回复</a>
                <a href="javaScript:void(0);" class="li-dz"  data-dz="{{item.up}}">
                    <i class="iconfont icon-dianzan"></i>赞{{item.up}}</a>
            </div>
        </div>
    </li>
    {{#  }); }}
</script>

  
</body>
</html>